package UCM;

import Views.ViewMain;
import DAO.MySQLDAOFactory;

public class UCStartUp {

    private static MySQLDAOFactory factory;
    private static ViewMain mainView;

    /**
     * Initualises the main view and starts it running
     * See tut4 for more code/details.
     * @param args
     */
    public static void main(String[] args) {
        if (args.length != 0) {
            factory = new MySQLDAOFactory(args[0]);
        }
        mainView = ViewMain.getInstance();

    }
}
